<?php

namespace common\models\bill;

use Yii;

/**
 * This is the model class for table "{{%bill_route}}".
 *
 * @property int $id
 * @property int $bill_id 票据ID
 * @property int $type_id 类型ID
 */
class BillRoute extends \common\db\ActiveRecord {

    /**
     * {@inheritdoc}
     */
    public static function tableName() {
        return '{{%bill_route}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules() {
        return [
            [['bill_id', 'type_id'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels() {
        return [
            'id' => 'ID',
            'bill_id' => '票据ID',
            'type_id' => '类型ID',
        ];
    }

}
